package org.wz.complex.work.entity.auth.sysinfo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@TableName("auth_sysinfo_user")
public class SysinfoUser {

    @TableId(type = IdType.AUTO)
    private Long id;

    private String username;

    private String password;

    private Long roleId;

    @TableField(exist = false)
    private SysinfoRole role;

    private String salt;

    private String time;

}
